package cn.bocai.pc.service;

import java.util.Map;

import cn.bocai.pc.model.BcUser;

public interface BcUserService {
	    //ajax查询用户名是否存在
	    String selectNameExist(String name);
	    
	    //新用户注册
	    int insertRegister(BcUser record);
	    
	    //用户登入查询登入信息
		BcUser selectLogin(BcUser record);
		
		 //登入以后修改用户密码
		int updateUserPaw(Map<String, Object> par);
		
		//注册时查询邮箱是否存在
		String selectEmail(String email);
		
	    int deleteByPrimaryKey(String userId);
	 

	    int insertSelective(BcUser record);

	    BcUser selectByPrimaryKey(String userId);

	    int updateByPrimaryKeySelective(BcUser record);

	    int updateByPrimaryKey(BcUser record);
}
